import request from '@/utils/request'
import { StdDrugModel } from '@/types/demo'

// 新增
export const apiAdd = (data:StdDrugModel)=>{
    return request.post('/std/dic/add',data)
}

// 列表查询 
export const apiPage = (data:StdDrugModel):any=>{
    return request.post('/std/dic/list',data)
}
// update 
export const apiUpdate = (data:StdDrugModel)=>{
    return request.post('/std/dic/update',data)
}
// delete 
export const deleteApi = (data:any)=>{
    return request.post('/std/dic/delete',data)
}